{// 选中父节点的模版}
<icy8:formItem label="上级分类" inline="1">
    <select name="pid">
        <option value="{$parent.id}">{$parent.title}</option>
    </select>
</icy8:formItem>

<icy8:formItem label="分类标题">
    <input type="text" name="title" class="layui-input" required lay-verify="required" placeholder="分类标题"
           value=""/>
</icy8:formItem>

<icy8:formItem label="唯一标识" help="这是识别该分类的唯一标识">
    <input type="text" name="name" class="layui-input" required lay-verify="required" placeholder="分类唯一标识"
           value="{$parent.name}"/>
</icy8:formItem>

<icy8:formItem label="分类图标" help="编写图标样式即可，具体查看awsome-font官网">
    <input type="text" name="icon" class="layui-input" required lay-verify="required" placeholder="节点图标"
           value="fa "/>
</icy8:formItem>

<icy8:formItem label="列表每页行数" help="只对前台数据展示有效">
    <input type="text" name="list_row" class="layui-input" placeholder="分类数据每页行数"
           value="{$parent.list_row}"/>
</icy8:formItem>

<icy8:formItem label="SEO网页标题" help="如果没有系统会自动显示普通分类标题">
    <input type="text" name="meta_title" class="layui-input" placeholder="SEO网页标题"
           value=""/>
</icy8:formItem>

<icy8:formItem label="SEO关键字" help="SEO优化字段，可留空" item-class="layui-form-text">
    <textarea name="keywords" placeholder="SEO关键字" class="layui-textarea"></textarea>
</icy8:formItem>

<icy8:formItem label="SEO页面描述" help="SEO优化字段，可留空" item-class="layui-form-text">
    <textarea name="description" placeholder="SEO页面描述" class="layui-textarea"></textarea>
</icy8:formItem>

<icy8:formItem label="是否可见" pane="1">
    <input type="radio" name="display" value="1" title="可见" checked />
    <input type="radio" name="display"  value="0" title="不可见" />
</icy8:formItem>

<icy8:formItem label="分类状态" pane="1">
    <input type="radio" name="status" value="1" title="开启" checked />
    <input type="radio" name="status"  value="0" title="禁用" />
</icy8:formItem>

<icy8:formItem label="排序" help="倒序：数值越大越靠前">
    <input type="number" name="sort" class="layui-input" value="{$parent.sort|default='99'}"/>
</icy8:formItem>

<icy8:formItem label="频道模板" help="频道页模板">
    <input type="text" name="extend[template_index]" class="layui-input" value="{$parent.extend.template_index|default=''}"/>
</icy8:formItem>

<icy8:formItem label="列表模板" help="列表页模板">
    <input type="text" name="extend[template_lists]" class="layui-input" value="{$parent.extend.template_lists|default='list'}"/>
</icy8:formItem>

<icy8:formItem label="详情模板" help="详情页模板">
    <input type="text" name="extend[template_detail]" class="layui-input" value="{$parent.extend.template_detail|default='detail'}"/>
</icy8:formItem>

<icy8:formItem label="编辑模板" help="编辑页模板">
    <input type="text" name="extend[template_edit]" class="layui-input" value="{$parent.extend.template_edit|default='edit'}"/>
</icy8:formItem>